#ifndef EXAM_RAND_H_H
#define EXAM_RAND_H_H

#include <cstdlib>

template <int begin, int end>
unsigned int Rand()
{
    return rand() % end - begin;
}

#endif //EXAM_RAND_H_H
